#include "stdafx.h"
#include "SdkVersion.h"

Lit::Sdk::Version::Version( int Maj, int Min, int Buildd, int Revv) : Major(Maj), Minor(Min), Rev(Revv), Build(Buildd){}
Lit::Sdk::Version::Version(const Lit::Sdk::Version& rk) : Major(rk.Major), Minor(rk.Minor), Rev(rk.Rev), Build(rk.Build){}

Lit::Sdk::Version::operator std::string()  const
{ 
	std::stringstream sstream;
	sstream << Major <<  "." << Minor << "." << Build << " r" << Rev;
	return sstream.str();
}

std::ostream& Lit::Sdk::operator << ( std::ostream& strm, const Lit::Sdk::Version& v )
{
	strm << v.Major <<  "." << v.Minor << "." << v.Build << " r" << v.Rev;
	return strm;
}